package cn.fraudmetrix.forseti.biz.service.${basePackage}.intf;

import cn.fraudmetrix.forseti.dal.mysql.dto.${basePackage}.${className}SearchDTO;
import cn.fraudmetrix.forseti.dal.mysql.object.${basePackage}.${className}DO;

import cn.fraudmetrix.forseti.dal.mysql.util.Pagination;

import java.util.List;
import java.util.Map;

/**
* @Author: smili
*/
public interface ${className}Service {

    void update(${className} ${lowerClassName});

    void updateSelective(${className} ${lowerClassName});

    void delete(${pkType} ${pkName});

    void delete(Map<String,Object> map);

    ${className} selectByPrimaryKey(${pkType} ${pkName});

    Pagination<${className}> searchForPage(${className}SearchDTO ${lowerClassName}SearchDTO);

    void add(${className} ${lowerClassName});

}
